Type.registerNamespace('www.rferl.org.Services'); www.rferl.org.Services.AudioHighlightService=function() { www.rferl.org.Services.AudioHighlightService.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } www.rferl.org.Services.AudioHighlightService.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return www.rferl.org.Services.AudioHighlightService._staticInstance.get_path();}, UpdateAudioHighlight:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'UpdateAudioHighlight',false,{},succeededCallback,failedCallback,userContext); }, UpdateAudioHighlightAlternative:function(alternativePlayJs,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'UpdateAudioHighlightAlternative',false,{alternativePlayJs:alternativePlayJs},succeededCallback,failedCallback,userContext); }} www.rferl.org.Services.AudioHighlightService.registerClass('www.rferl.org.Services.AudioHighlightService',Sys.Net.WebServiceProxy); www.rferl.org.Services.AudioHighlightService._staticInstance = new www.rferl.org.Services.AudioHighlightService(); www.rferl.org.Services.AudioHighlightService.set_path = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_path(value); } www.rferl.org.Services.AudioHighlightService.get_path = function() { /// The service url. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_path();} www.rferl.org.Services.AudioHighlightService.set_timeout = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_timeout(value); } www.rferl.org.Services.AudioHighlightService.get_timeout = function() { /// The service timeout. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_timeout(); } www.rferl.org.Services.AudioHighlightService.set_defaultUserContext = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_defaultUserContext(value); } www.rferl.org.Services.AudioHighlightService.get_defaultUserContext = function() { /// The service default user context. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_defaultUserContext(); } www.rferl.org.Services.AudioHighlightService.set_defaultSucceededCallback = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_defaultSucceededCallback(value); } www.rferl.org.Services.AudioHighlightService.get_defaultSucceededCallback = function() { /// The service default succeeded callback. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_defaultSucceededCallback(); } www.rferl.org.Services.AudioHighlightService.set_defaultFailedCallback = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_defaultFailedCallback(value); } www.rferl.org.Services.AudioHighlightService.get_defaultFailedCallback = function() { /// The service default failed callback. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_defaultFailedCallback(); } www.rferl.org.Services.AudioHighlightService.set_enableJsonp = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_enableJsonp(value); } www.rferl.org.Services.AudioHighlightService.get_enableJsonp = function() { /// Specifies whether the service supports JSONP for cross domain calling. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_enableJsonp(); } www.rferl.org.Services.AudioHighlightService.set_jsonpCallbackParameter = function(value) { www.rferl.org.Services.AudioHighlightService._staticInstance.set_jsonpCallbackParameter(value); } www.rferl.org.Services.AudioHighlightService.get_jsonpCallbackParameter = function() { /// Specifies the parameter name that contains the callback function name for a JSONP request. return www.rferl.org.Services.AudioHighlightService._staticInstance.get_jsonpCallbackParameter(); } www.rferl.org.Services.AudioHighlightService.set_path("/Services/AudioHighlightService.asmx"); www.rferl.org.Services.AudioHighlightService.UpdateAudioHighlight= function(onSuccess,onFailed,userContext) { /// /// /// www.rferl.org.Services.AudioHighlightService._staticInstance.UpdateAudioHighlight(onSuccess,onFailed,userContext); } www.rferl.org.Services.AudioHighlightService.UpdateAudioHighlightAlternative= function(alternativePlayJs,onSuccess,onFailed,userContext) { /// System.String /// /// /// www.rferl.org.Services.AudioHighlightService._staticInstance.UpdateAudioHighlightAlternative(alternativePlayJs,onSuccess,onFailed,userContext); }